<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span>绩效统计 > 按部门统计</div>
	<div class="rightbody f">
		<div class="rightbodycontent">
		    <table cellspacing="1" cellpadding="4" class="tablelist">
		        <tr>
		            <th width="20%">部门名称</th>
				    <th>对应人数</th>
				    <th>草稿数</th>
				    <th>驳回数</th>
				    <th>待审数</th>
				    <th>发布数</th>
				    <th>移除数</th>
				    <th>文档总数</th>
		        </tr>
		        <#list departments as department>
		        	<#assign articlecounts = articlecountMaps[department.id?c]>
					<tr<#if department_index % 2 == 1> class="splittr"</#if>>
						<td align="center">${department.name}</td>
					    <td align="center">${department.admins?size}</td>
					    <td align="center">${articlecounts[0]}</td>
					    <td align="center">${articlecounts[1]}</td>
					    <td align="center">${articlecounts[2]}</td>
					    <td align="center">${articlecounts[3]}</td>
					    <td align="center">${articlecounts[4]}</td>
					    <td align="center">${articlecounts[5]}</td>
		            </tr>
		        </#list>
		    </table>
	    </div>
    </div>
</body>
</html>